home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zoom 2
/
Zoom - Release 2 (1996)(Active Software)[!].iso
/
programming
/
amiga
/
rexxecute
/
examples
/
phonebook.rexx
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
OS/2 REXX Batch file
|
1994-06-09
|
353 b
|
16 lines
/* A simple telephone phone book to */
/* demonstrate compound variables */
if arg() ~= 1 then do
say "USAGE: phonebook name"
exit 5
end
number. = '(not found)'
number.bill = '(617) 568-8695'
number.amiga = '(215) 431-9100'
/* (your numbers here) */
arg name /* the name */
say name||"'s number is" number.name